package com.ruoyi.piliangfahuo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 订单-发货关联对象 order_delivery_rel
 * 
 * @author ruoyi
 * @date 2025-01-10
 */
public class OrderDeliveryRel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 订单编号 */
    private String orderId;

    /** 发货记录ID */
    private Long deliveryId;

    /** 本次关联发货数量 */
    private Integer bindQuantity;

    /** 备注 */
    private String remark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }

    public void setDeliveryId(Long deliveryId) 
    {
        this.deliveryId = deliveryId;
    }

    public Long getDeliveryId() 
    {
        return deliveryId;
    }

    public void setBindQuantity(Integer bindQuantity) 
    {
        this.bindQuantity = bindQuantity;
    }

    public Integer getBindQuantity() 
    {
        return bindQuantity;
    }

    public void setRemark(String remark) 
    {
        this.remark = remark;
    }

    public String getRemark() 
    {
        return remark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("deliveryId", getDeliveryId())
            .append("bindQuantity", getBindQuantity())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .toString();
    }
}
